package cn.iocoder.yudao.framework.business.address.pojo.form;

import cn.iocoder.yudao.framework.region.bo.AddressSaveBO;
import cn.iocoder.yudao.framework.validation.groups.UpdateGroup;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class AddressSaveForm extends AddressSaveBO {

    @Schema(description = "唯一编号，更新时不能为空", requiredMode = Schema.RequiredMode.NOT_REQUIRED, example = "1")
    @NotNull(message = "唯一编号不能为空", groups = {UpdateGroup.class})
    private Long id;

}